<?php
namespace org\kahikai\database;

/**
 * 
 * @author ch4mp
 *
 */
interface PaperDao {
	
	/**
	 * 
	 * @return an array with all Languages
	 */
	public function getAll();
	
	/**
	 * 
	 * @param int $id a Language id
	 * @return the Paper with provided id or null
	 */
	public function getById($id);
	
	/**
	 * 
	 * @param int $speciesId a Species id
	 * @return an array with all Papers for provided Species (never null even if species id is unknown)
	 */
	public function getBySpeciesId($speciesId);
}
?>